package com.treasure.domain.domain;


import com.treasure.common.model.UploadDocumentRequest;
import com.treasure.common.types.FileName;

import java.io.File;

/**
 * @author sunhongmin
 * @date 2023/8/27 11:22
 * @description 文档切分、向量存储
 */
public interface DocumentIndexStoreDomainService {

    /**
     * 文档切分存储
     *
     * @param uploadDocumentRequest
     * @param file
     * @param fileName
     */
    void indexDocumentAndStore(UploadDocumentRequest uploadDocumentRequest, File file, FileName fileName);

}
